import { IsString } from "class-validator"
import { ApiProperty } from "@nestjs/swagger"

export class SetPass {
    @IsString()
    @ApiProperty({ description: '账号' })
    username: string


    @IsString()
    @ApiProperty({ description: '原密码' })
    password: string


    @IsString()
    @ApiProperty({ description: '修改密码' })
    setpassword: string

}